Add (crude) install target.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 24 Jan 2003 16:52:42 +0000 (16:52 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 24 Jan 2003 16:52:42 +0000 (16:52 +0000)
gpsbabel/Makefile

index 9f03c3518d25a2be8570b724b15f4b5a9c6e07d7..3122ccc0ec59da26c97b5d67aaed4dbdcbeea156 100644 (file)
@@ -1,4 +1,5 @@
 CFLAGS=-g -Icoldsync
+INSTALL_TARGETDIR=/usr/local/
 
 FMTS=magproto.o gpx.o geo.o gpsman.o mapsend.o mapsource.o \
        gpsutil.o tiger.o pcx.o csv.o cetus.o gpspilot.o magnav.o \
@@ -32,6 +33,12 @@ main.o:
 clean:
        rm -f $(OBJS) gpsbabel gpsbabel.exe
 
+#
+# This will only work on UNIX-like substances.
+#
+install:
+       install gpsbabel  $(INSTALL_TARGETDIR)/bin
+
 # Nerdy release stuff that needs to work only on Linux.
 
 dep: